/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dictionary.entities;

import java.util.List;

/**
 *
 * @author s0c0labd
 */
public class Word {

    private String word;
    private List<Mean> mean;
    private int type;

    public Word(String word) {
        this.word = word;
    }

    public Word() {
    }

    public Word(String word, List<Mean> mean, int type) {
        this.word = word;
        this.mean = mean;
        this.type = type;
    }

    public Word(String word, int type) {
        this.word = word;
        this.type = type;
    }
    
    public Word(String word, List<Mean> mean) {
        this.word = word;
        this.mean = mean;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Word(List<Mean> mean) {
        this.mean = mean;
    }

    public List<Mean> getMean() {
        return mean;
    }

    public void setMean(List<Mean> mean) {
        this.mean = mean;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    @Override
    public String toString() {
        return word;
    }
}
